<html>
<head>
<title>预览网页</title>
<style type="text/css">
<!--
body {
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	background: #42413C;
	margin: 0;
	padding: 0;
	color: #000;
}

ul, ol, dl {
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
	padding-right: 15px;
	padding-left: 15px;
	font-size: 14px;
}
a img { 
	border: none;
}

a:link {
	color: #42413C;
	text-decoration: underline; 
}
a:visited {
	color: #6E6C64;
	text-decoration: underline;
}
a:hover, a:active, a:focus { 
	text-decoration: none;
}

.container {
	width: 960px;
	background: #FFF;
	margin: 0 auto; 
}

.header {
	background: #ADB96E;
	font-size: 50px;
}


.sidebar1 {
	float: right;
	width: 180px;
	background: #EADCAE;
	padding-bottom: 10px;
}
.content {

	padding: 10px 0;
	width: 780px;
	float: right;
}

.content ul, .content ol { 
	padding: 0 15px 15px 40px; 
}

ul.nav {
	list-style: none; 
	border-top: 1px solid #666; 
	margin-bottom: 15px;
}
ul.nav li {
	border-bottom: 1px solid #666;
}
ul.nav a, ul.nav a:visited {
	padding: 5px 5px 5px 15px;
	display: block; 
	width: 160px;
	text-decoration: none;
	background: #C6D580;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { 
	background: #ADB96E;
	color: #FFF;
}

.footer {
	padding: 10px 0;
	background: #CCC49F;
	position: relative;
	clear: both;
	text-align: center;
}

.fltrt { 
	float: right;
	margin-left: 8px;
}
.fltlft { 
	float: left;
	margin-right: 8px;
}
.clearfloat { 
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
-->
</style></head>

<body>

<div class="container">
  <div class="header"><a href="#"><img src="" alt=""name="Insert_logo" width="180" height="90" id="Insert_logo" style="background: #C6D580; display:block;" /><?php echo $name; ?></a> 
   </div>
  <div class="sidebar1">
    <ul class="nav">资料分享信息
      <li><a href="#">评分:<?php echo $right_rank; ?></a></li>
      <li><a href="#">评价人数:<?php echo $right_rank_times; ?></a></li>
      <li><a href="#">分享人:<?php echo $author; ?></a></li>
      <li><a href="#">分享时间:<?php echo $time; ?></a></li>
      <li><a href="#">科目:<?php echo $subject; ?></a></li>
      <li><a href="#">资料适用年份:<?php echo $year; ?></a></li>
      <li><a href="#">标签:<?php echo $tag; ?></a></li>
      <li><a href="#">下载次数:<?php echo $download_times; ?></a></li>
      <li><a href="#">描述:<?php echo $description; ?></a></li>
    </ul>
    该用户其他分享：
    <?php foreach ($other_share_comments as $item): ?>
    <li><?php echo $item['file_name']; ?></li>
    <?php endforeach; ?>
    
    </div>
  <div class="content">
    <h1><p><?php echo $result; ?>&nbsp;</p></h1>
</div>
  <div class="footer">
  	<form name="form1" method="post" action="<?php echo "http://localhost/ShiBei/index.php/share/document/file_download/" . $fid ?>">
      <input type="submit" name="button" id="button" value="下载" action="<?php echo "http://localhost/ShiBei/index.php/share/document/file_download/" . $fid ?>">
    </form>
    <form name="form2" method="post" action="<?php echo "http://localhost/ShiBei/index.php/share/document/delete/1001/" . $fid ?>">
  	  <input type="submit" name="button2" id="button2" value="删除">
    </form>
   </div>
  </div>
</body>
</html>
